package com.flex.core.constants
{
	import com.flex.core.model.map.HashMap;

	import mx.collections.ArrayCollection;
	import mx.containers.Canvas;
	import mx.core.Application;

	/**
	 * @author sam
	 */
	public class GameConstants
	{

		public static var BASE_ELE_MAP:HashMap=new HashMap(); // Map<key,item>, indexof getElementById() in javascript

		public static var BASE_APPLICATION:Application;

		public static var BASE_GRID_WIDTH:Number=300;

		public static var BASE_GRID_HEIGHT:Number=150;
		
		public static var MAP_WRITE_PATH:String="";

		public static const MAP_AREA_WIDTH:Number=900;

		public static const MAP_AREA_HEIGHT:Number=540;

		public static const MAP_MENU_HEIGHT:Number=100;

		public static const BASE_GRID_ALPHA:Number=0.7;

		public static const BASE_GRID_CANMOVE_ALPHA:Number=0.3;
		
		public static const BASE_GRID_BASEUSERPOS_ALPHA:Number=0.3;

		public static const BASE_GRID_COLOR:uint=0x000000;

		public static const BASE_GRID_TYPE_ONEGRID:Number=1; // one grid

		public static const BASE_GRID_TYPE_QUARTER_LEFTUP:Number=2; // a quarter gird ,position lefttop

		public static const BASE_GRID_TYPE_QUARTER_LEFTDOWN:Number=3; // a quarter gird ,position leftdown

		public static const BASE_GRID_TYPE_QUARTER_RIGHTUP:Number=4; // a quarter gird ,position righttop

		public static const BASE_GRID_TYPE_QUARTER_RIGHTDOWN:Number=5; // a quarter gird ,position rightdown

		public static const BASE_GRID_LINE_COLOR:uint=0xFFFFFF;

		public static const BASE_GRID_LINE_ALPHA:Number=0.7;

		public static var BASE_IMG_LIST:ArrayCollection=new ArrayCollection();

		public static var BASE_MOUSE_CANVAS:Canvas=new Canvas();

		public static var BASE_MOUSE_CURTYPE:Number=BASE_MOUSE_CURTYPE_NORMAL;

		public static var BASE_MOUSE_CURTYPE_NORMAL:Number=1;

		public static var BASE_MOUSE_CURTYPE_CHANGEGRID:Number=2;
		
		public static var BASE_MOUSE_CURTYPE_SETUSERBASEPOS:Number=3;

		public static var BASE_MOUSE_CURTYPE_OTHER:Number=4;

		public static var BASE_GRID_STATE_CANNOTMOVE:Number=0;

		public static var BASE_GRID_STATE_CANMOVE:Number=1;

		public function GameConstants()
		{

		}

	}
}